You create an instance of the Array object with the "new" keyword.
var family_names=new Array(5) |
The expected number of elements goes inside the parentheses, in this case 5.
You assign data to each of the elements in the array like this:
family_names[0]="Tove" family_names[1]="Jani" family_names[2]="Stale" family_names[3]="Hege" family_names[4]="Kai" |
#Title: JavaScript Array Object
#Element: 175: JavaScript Array Object